home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 1
/
Cream of the Crop 1.iso
/
PROGRAM
/
CUJ9209.ARJ
/
1009102B
< prev
next >
Wrap
Text File
|
1992-07-07
|
242b
|
19 lines
Listing 4
String &String::operator=(const String &s)
{
if (len != s.len)
{
delete [] str;
len = s.len;
str = new char[len + 1];
}
strcpy(str, s.str);
return *this;
}
----------